package org.wjw.auth.service;

import org.wjw.auth.domain.Role;
import org.wjw.base.service.IBaseService;
import org.wjw.dto.accept.MenuDTO;
import org.wjw.dto.accept.PermissionDTO;

import java.util.List;

public interface IRoleService extends IBaseService<Role> {

    void setRolePermisison(PermissionDTO dto);

    List<String> getSnByRowId(Long roleId);

    void setRoleMenu(MenuDTO dto);

    List<Long> getMenuIdByRowId(Long roleId);

    List<Long> getAllRoleId();

    List<Role> getRoles();
}
